package com.tjw.dao;

import com.tjw.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author tjw
 * @Date 2020/10/10
 */
public interface OrderSettingDao {

    public Long findCountByOrderDate(Date date);

    public void add(OrderSetting orderSetting);

    public void edit(OrderSetting orderSetting);

    public List<Map<String, Object>> getOrderSettingByMonth(String month);

    public OrderSetting findByOrderDate(Date orderDate);

    public void editReservationsByOrderDate(OrderSetting orderSetting);
}
